package com.sss.hloster03;
import java.util.Scanner;

public class TestIf03 {

	public static void main(String[] args) {
		int JavaScore = -1;
		int WebScore = -1;
		Scanner input = new Scanner(System.in);
		System.out.print("请输入王云同学的Java考试成绩：");
		JavaScore = input.nextInt();
		System.out.print("请输入王云同学的Web考试成绩：");
		WebScore = input.nextInt();
		//使用if...else...实现
		if(JavaScore>=60 && WebScore>=60) {
			System.out.println("恭喜你，获得Java初级工程师认证！");
		}
		else{
			System.out.println("你有考试不及格，需要补考！");
		}
	}

}
